File: testcode.sh

package info (click to toggle)
visam 2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,128 kB
  • sloc: ansic: 12,699; sh: 4,563; makefile: 41
file content (17 lines) | stat: -rwxr-xr-x 190 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash


vcheck
rc=$?
if [ "$rc" != "0" ]; then
  echo "E: vcheck error: $rc"
#  exit 1
fi
vrecover
rc=$?
if [ "$rc" != "0" ]; then
  echo "E: vrecover error: $rc"
#  exit 1
fi

exit 0