mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 05:40:14 -05:00
Compare commits
2 commits
5679bfdbce
...
b1e58df65c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1e58df65c | ||
|
|
7f9ca07b57 |
3 changed files with 5 additions and 5 deletions
|
|
@ -1863,11 +1863,11 @@ int snapraid_main(int argc, char* argv[])
|
|||
|
||||
if (opt.gui_threshold_removes != 0 && state.removed_files > opt.gui_threshold_removes) {
|
||||
log_fatal(EUSER, "Too many files were removed (%u, limit is %u). Sync aborted.\n", state.removed_files, opt.gui_threshold_removes);
|
||||
exit(EXIT_FAILURE);
|
||||
exit(EXIT_SYNC_NEEDED);
|
||||
}
|
||||
if (opt.gui_threshold_updates != 0 && state.updated_files > opt.gui_threshold_updates) {
|
||||
log_fatal(EUSER, "Too many files were updated (%u, limit is %u). Sync aborted.\n", state.updated_files, opt.gui_threshold_updates);
|
||||
exit(EXIT_FAILURE);
|
||||
exit(EXIT_SYNC_NEEDED);
|
||||
}
|
||||
|
||||
/* refresh the size info before the content write */
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ sha256sums=('@SHA256@')
|
|||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
./configure --prefix=/usr --sysconfdir=/etc --with-init-type=none
|
||||
./configure --prefix=/usr --sysconfdir=/etc
|
||||
make
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Slackware build script for @PACKAGE_NAME@
|
||||
|
||||
|
|
@ -88,8 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--with-init-type=bsd
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make -j
|
||||
make install DESTDIR=$PKG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue